package Assignment.Test4;

public class StudentLeader extends Student{
    private String job;

    public StudentLeader() {
    }

    public StudentLeader(String name, String gender, int age, String nationality, String stuNumber, String school, String job) {
        super(name, gender, age, nationality, stuNumber, school);
        this.job = job;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public void meeting(){
        System.out.println(super.getName()+"在开会");
    }
}
